QuickOPC User's Guide and Reference
ValuePrecision Property (UADataItemNode<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess Namespace > UADataItemNode<TValue,TAttribute> Class : ValuePrecision Property
The maximum precision that the server can maintain for the item based on restrictions in the target environment.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
<MappingTagAttribute("OpcLabs.EasyOpc.UA.InformationModel.VariableProperty")>
<UANodeAttribute(".[ValuePrecision]")>
<UADataAttribute()>
Public Property ValuePrecision As Nullable(Of Double)
'Usage
 
Dim instance As UADataItemNode(Of TValue,TAttribute)
Dim value As Nullable(Of Double)
 
instance.ValuePrecision = value
 
value = instance.ValuePrecision
[DefaultValue("")]
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableProperty")]
[UANode(".[ValuePrecision]")]
[UAData()]
public Nullable<double> ValuePrecision {get; set;}
[DefaultValue("")]
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableProperty")]
[UANode(".[ValuePrecision]")]
[UAData()]
public:
property Nullable<double> ValuePrecision {
   Nullable<double> get();
   void set (    Nullable<double> value);
}
Remarks
ValuePrecision can be used for the following DataTypes: The ValuePrecision property is an approximation that is intended to provide guidance to a client. A server is expected to silently round any value with more precision that it supports. This implies that a client may encounter cases where the value read back from a server differs from the value that it wrote to the server. This difference shall be no more than the difference suggested by this property.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also